#if !defined(AFX_CSELFCHECKDLG_H__B3B2CC54_7B5B_4F6D_94CB_CD88B9DA03F0__INCLUDED_)
#define AFX_CSELFCHECKDLG_H__B3B2CC54_7B5B_4F6D_94CB_CD88B9DA03F0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CSelfCheckDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSelfCheckDlg dialog

#include "CPreviewAdmin.h"
#include "CVideoWindow.h"

class CSelfCheckDlg : public CDialog
{
// Construction
public:
	CSelfCheckDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSelfCheckDlg)
	enum { IDD = IDD_ADJUST_DIALOG };
	CComboBox	mComboAudioInputs;
	CVideoWindow	mVideoWindow;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSelfCheckDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

public:
	void SetAVDevice(CAVDevice * inVideo, CAVDevice * inAudio);
	long GetDeviceConfig(void);

// Implementation
protected:
	CAVDevice *		mVideoDevice;
	CAVDevice *		mAudioDevice;
	long			mDeviceConfig;

	CPreviewAdmin	mDeviceAdmin;

	void FillAudioConnectors(void);

	// Generated message map functions
	//{{AFX_MSG(CSelfCheckDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonAudioCapture();
	afx_msg void OnButtonVideoCapture();
	afx_msg void OnSelchangeComboAudioInputs();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CSELFCHECKDLG_H__B3B2CC54_7B5B_4F6D_94CB_CD88B9DA03F0__INCLUDED_)
